package com.cn.byjk.Controller;

import com.cn.byjk.service.FundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.math.BigDecimal;

@RestController
@RequestMapping("/fund")
public class FundController {
    @Autowired
    private FundService fundService;

    @GetMapping("/getMoney/{userid}")
    public BigDecimal getMoney( @PathVariable("userid") Long userid){

        //return fundService.getMoney(userid);
        return new BigDecimal(userid);
    }
}
